<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>Error <?=$e->getCode()?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<style>
		* { font-family: arial;}
		body { margin: 40px;}
		h1 { color: #BC0A24; letter-spacing:2px; font-size: 40px;}
		span { display: block; font-size: 14px;}
		pre, fieldset.debug_mode { margin: 0; font-size: 12px; letter-spacing:1px;}
		fieldset.debug_mode { padding: 4px; border: 1px solid #ccc; width: 500px; margin-top: 30px;}
		fieldset.debug_mode p { font-size: 10px; margin: 0 0 10px 0; color: #333;}
		a { font-size: 12px; font-weight: bold; text-decoration: none; color: #000;}
		</style>
	</head>
	<body>
		<h1>OOPS!<span>Not Implemented</span></h1>
		<pre>
The developer made an error here. If you are not the developer please
click on the link below.
		</pre>
		<a href="<?=CONFIG_SERVER_URI?>">Go to the Home Page</a>
		
		<?php if(DEBUG_MODE) : ?>
		<fieldset class="debug_mode">
			<legend>Debug details</legend>
			<p>Disable these detailed information when you go online, set DEBUG_MODE in config.php 
			to false.</p>
			<b>ErrorCode:</b> <?=$e->getCode()?> <br />
			<b>ErrorMessage:</b> <?=$e->getMessage()?>
		</p>
		<?php endif; ?>
	</body>
</html>
